﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;

namespace RTS
{
	class OptionGraph
	{
		private Option option;
		private Rectangle rectanglePosition;

		public OptionGraph(Option option, Rectangle rectanglePosition)
		{
			this.option = option;
			this.rectanglePosition = rectanglePosition;
		}

		public Option getOption()
		{
			return option;
		}

		public bool isBeingClicked(int x, int y)
		{
			return rectanglePosition.Contains(x, y);
		}
	}
}
